package indi.h.security.encryption;

import java.nio.charset.Charset;

import indi.h.security.Parameters;

public class CryptParameter implements Parameters {
	private Integer length;
	private String algorithm;
	private String cipherAlgorithm;
	private Charset code;

	public Integer getLength() {
		return length;
	}

	public void setLength(Integer length) {
		this.length = length;
	}

	public String getAlgorithm() {
		return algorithm;
	}

	public void setAlgorithm(String algorithm) {
		this.algorithm = algorithm;
	}

	public Charset getCode() {
		return code;
	}

	public void setCode(Charset code) {
		this.code = code;
	}

	public String getCipherAlgorithm() {
		return cipherAlgorithm;
	}

	public void setCipherAlgorithm(String cipherAlgorithm) {
		this.cipherAlgorithm = cipherAlgorithm;
	}

	public Parameters clone() {
		try {
			return (Parameters) super.clone();
		} catch (CloneNotSupportedException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		return null;
	}
}
